package com.nbot.common.command.b2s;

import com.nbot.common.command.BaseCommand;

import java.util.Date;
/**
 * Created by wyzc on 2018/5/29
 * 重点督办.
 */
public class ImportantExecuteCommand extends BaseCommand {

    private String event;//重点督办事件描述[在 1-确认完毕；2-延期 的情况中，这里填入key(autoid)]
    private Date plantime;//计划完成时间[在 1-确认完毕；2-延期 的情况中，这里填入操作时的系统时间]
    private int executetype;//任务发布or确认执行完毕or延期；0-发布；1-确认完毕；2-延期
    private String executeperson;//督办事件确认执行人，同executetype匹配

    public ImportantExecuteCommand(String event, Date plantime,int executetype,String executeperson) {
        super(BOT_TO_SERVER_TYPE);
        this.event=event;
        this.plantime=plantime;
        this.executetype=executetype;
        this.executeperson=executeperson;
    }
    public ImportantExecuteCommand(){
        super(BOT_TO_SERVER_TYPE);
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String data) {
        this.event = data;
    }

    public Date getPlantime() {
        return plantime;
    }

    public void setPlantime(Date plantime) {
        this.plantime = plantime;
    }

    public int getExecutetype() {
        return executetype;
    }

    public void setExecutetype(int executetype) {
        this.executetype = executetype;
    }

    public String getExecuteperson() {
        return executeperson;
    }

    public void setExecuteperson(String executeperson) {
        this.executeperson = executeperson;
    }
}
